package com.audi.box.service;

import java.util.ArrayList;

import com.audi.dto.PlaceItem;

public interface PlaceService {
    public int addPlace(PlaceItem place);
    
    public int updatePlace(PlaceItem place);
    
    public int renamePlace(PlaceItem place);
    
    public int changeCapabilityPlace(PlaceItem place);
    
    public boolean isExist(PlaceItem place);
    
    public boolean isExistByName(PlaceItem place);
    
    public ArrayList<PlaceItem> getListPlace();
    
    public ArrayList<PlaceItem> getListPlaceByUserId(int userId);
    
    public PlaceItem getPlaceByDeviceId(int deviceId);
    
    public PlaceItem getPlace(int placeId);
    
    public int deletePlace(PlaceItem place);
    
}
